RequestCompleted

An event indicating that the URL request has been completed.

Functions

Link copied to clipboard
open fun errorCode(): NetError
Returns the URL request error code.
Link copied to clipboard
open fun isCached(): Boolean
Returns true if the response has been taken from cache.
Link copied to clipboard
open fun network(): Network
Returns the Network instance initiated this event.
Link copied to clipboard
open fun responseCode(): Int
Returns the HTTP response code or 0 if the request has been failed or canceled.
Link copied to clipboard
open fun status(): UrlRequestStatus
Returns the status of the URL request.
Link copied to clipboard
Returns the URL request that has been completed.